<form name="menuNameForm">
<div  class="form form-base form-horizontal form-box appendMenuAction">
    <div style="padding: 80px 150px 130px;" class="pos-r">
        <div style="color: #222; margin-bottom: 8px;">
            {{data.message}}
        </div>
        <div class="simple-input" style="height: 32px;line-height: 30px;border: 1px solid #e7e7eb;padding: 0 10px;float: left;width: 100%;">
            <input type="text" name="name" ng-model="data.name" dblength="data.maxlength" required style="border: none;height: 22px;margin: 4px 0;outline: none;line-height: normal;width: 100%;">
            <div style="margin-left: -10px;"
                 ng-messages="menuNameForm.name.$error"
                 ng-show="menuNameForm.$submitted || menuNameForm.name.$touched">
                <p class="error" ng-message="required">输入框内容不能为空</p>
                <p class="error" ng-message="maxdblength">{{data.maxlengthMsg}}</p>
            </div>
        </div>
    </div>
</div>
</form>